<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>oec留学中心</title><meta name=viewport content="initial-scale=1,maximum-scale=1"><link rel="shortcut icon" href=/favicon.ico><link rel=bookmark href=/favicon.ico><link rel=stylesheet href=http://m.sui.taobao.org/dist/css//sm.min.css><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><link href=/oec/static/css/app.e237bbb6198713b2b64cdbce35b2c907.css rel=stylesheet></head><body><div id=app></div><script src=//g.alicdn.com/sj/lib/zepto/zepto.min.js charset=utf-8></script><script src=https://res.wx.qq.com/open/js/jweixin-1.0.0.js charset=utf-8></script><script>// 关闭SUI的路由
    $.config = {
      router: false
    }
	wx.config({
	  debug: false,
	  contentType: 'application/json;charset=utf-8'
	})
    // 微信配置参数
    $.sign = {
      uid: '',
	  openid: '',
	  sendpay: function(obj){
		console.log('appId:'+obj.appId)
		WeixinJSBridge.invoke('getBrandWCPayRequest', {
          'appId': obj.appId,
          'timeStamp': String(obj.timeStamp),
          'nonceStr': obj.nonceStr,
		  'package': obj.packageValue,
          'signType': obj.signType,
          'paySign': obj.paySign
        }, function (res) {
          if (res.err_msg === 'get_brand_wcpay_request:ok') {
            location.href = 'http://creatgo.com/oec/#!/user/userupgrade-3'
          }
          else {
            $.alert('支付失败')
          }
        })
	  },
	  sendpay2: function(obj){
		console.log('appId:'+obj.appId)
		WeixinJSBridge.invoke('getBrandWCPayRequest', {
          'appId': obj.appId,
          'timeStamp': String(obj.timeStamp),
          'nonceStr': obj.nonceStr,
		  'package': obj.packageValue,
          'signType': obj.signType,
          'paySign': obj.paySign
        }, function (res) {
          if (res.err_msg === 'get_brand_wcpay_request:ok') {
            location.href = 'http://creatgo.com/oec/#!/travel'
          }
          else {
            $.alert('支付失败')
          }
        })
	  }
    }
	$.user = {
	  uid: '',
	  openid: '',
	  type: 0,
	  assistid: '',
      phone: '',
      email: '',
      school: '',
      grade: '',
      major: '',
      address: '',
      name: '',
	  img: '',
	  nickname: ''
    }
	$.travel = {
	  name: '',
	  datetime: '',
	  money: '',
	  id: ''
	}</script><script src=//g.alicdn.com/msui/sm/0.6.2/js/sm.js charset=utf-8></script><script type=text/javascript src=/oec/static/js/manifest.b4adc9dbfdd28a3a57bc.js></script><script type=text/javascript src=/oec/static/js/vendor.2e4dc88c1c4334ebec0b.js></script><script type=text/javascript src=/oec/static/js/app.9b8c065eb7a05b3b7730.js></script></body></html>